package smarthouse.dto;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * The persistent class for the house database table.
 * 
 */

public class HouseDTO implements Serializable {
	private static final long serialVersionUID = 1L;

	private int houseId;

	private String address;

	private String adminPassword;

	private String houseName;

	private String housePicture;

	private String latitude;

	private String longitude;

	private int postalCode;

	// bi-directional many-to-one association to Room

	private List<Integer> rooms = new ArrayList<>();

	// bi-directional many-to-one association to User

	private List<Integer> users = new ArrayList<>();

	/**
	 * Default constructor
	 */
	public HouseDTO() {
	}

	/**
	 * Getter/Setter
	 * 
	 * @return
	 */
	public int getHouseId() {
		return this.houseId;
	}

	/**
	 * Getter/Setter
	 * 
	 * @return
	 */
	public void setHouseId(int houseId) {
		this.houseId = houseId;
	}

	/**
	 * Getter/Setter
	 * 
	 * @return
	 */
	public String getAddress() {
		return this.address;
	}

	/**
	 * Getter/Setter
	 * 
	 * @return
	 */
	public void setAddress(String address) {
		this.address = address;
	}

	/**
	 * Getter/Setter
	 * 
	 * @return
	 */
	public String getAdminPassword() {
		return this.adminPassword;
	}

	/**
	 * Getter/Setter
	 * 
	 * @return
	 */
	public void setAdminPassword(String adminPassword) {
		this.adminPassword = adminPassword;
	}

	/**
	 * Getter/Setter
	 * 
	 * @return
	 */
	public String getHouseName() {
		return this.houseName;
	}

	/**
	 * Getter/Setter
	 * 
	 * @return
	 */
	public void setHouseName(String houseName) {
		this.houseName = houseName;
	}

	/**
	 * Getter/Setter
	 * 
	 * @return
	 */
	public String getHousePicture() {
		return this.housePicture;
	}

	/**
	 * Getter/Setter
	 * 
	 * @return
	 */
	public void setHousePicture(String housePicture) {
		this.housePicture = housePicture;
	}

	/**
	 * Getter/Setter
	 * 
	 * @return
	 */
	public String getLatitude() {
		return this.latitude;
	}

	/**
	 * Getter/Setter
	 * 
	 * @return
	 */
	public void setLatitude(String latitude) {
		this.latitude = latitude;
	}

	/**
	 * Getter/Setter
	 * 
	 * @return
	 */
	public String getLongitude() {
		return this.longitude;
	}

	/**
	 * Getter/Setter
	 * 
	 * @return
	 */
	public void setLongitude(String longitude) {
		this.longitude = longitude;
	}

	/**
	 * Getter/Setter
	 * 
	 * @return
	 */
	public int getPostalCode() {
		return this.postalCode;
	}

	/**
	 * Getter/Setter
	 * 
	 * @return
	 */
	public void setPostalCode(int postalCode) {
		this.postalCode = postalCode;
	}

	/**
	 * Getter/Setter
	 * 
	 * @return
	 */
	public List<Integer> getRooms() {
		return rooms;
	}

	/**
	 * Getter/Setter
	 * 
	 * @return
	 */
	public void setRooms(List<Integer> rooms) {
		this.rooms = rooms;
	}

	/**
	 * Getter/Setter
	 * 
	 * @return
	 */
	public List<Integer> getUsers() {
		return users;
	}

	/**
	 * Getter/Setter
	 * 
	 * @return
	 */
	public void setUsers(List<Integer> users) {
		this.users = users;
	}

}